From ae8abadd04836accbc0c48e5449462942367769a Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sun, 13 Mar 2022 04:27:41 +0000 Subject: [PATCH] disable upstream's font installation rules Gbp-Pq: Topic disable Gbp-Pq: Name font-installation.patch --- tools/makedep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index 011d9d2..69260c7 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2927,7 +2927,7 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source, fontforge, root_src_dir_path( "fonts/genttf.ff" ), source->filename ); if (!(source->file->flags & FLAG_SFD_FONTS)) strarray_add( &make->font_files, ttf_obj ); } - if (source->file->flags & FLAG_INSTALL) + if (0) { add_install_rule( make, source->name, ttf_obj, strmake( "D$(fontdir)/%s", ttf_obj )); output_srcdir_symlink( make, ttf_obj ); @@ -2947,7 +2947,6 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source, tools_path( make, "sfnt2fon" ), ttf_file ); output( "\t%s%s -q -o $@ %s %s\n", cmd_prefix( "GEN" ), tools_path( make, "sfnt2fon" ), ttf_file, args ); - add_install_rule( make, source->name, xstrdup(font), strmake( "d$(fontdir)/%s", font )); } } } -- 2.30.2